package com.achievement.service.author;

import com.achievement.domain.dto.author.CopyRightAuthorDTO;
import com.achievement.domain.entity.author.CopyRightAuthorEntity;
import com.achievement.domain.vo.author.CopyRightAuthorVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;


public interface ICopyRightAuthorService extends IService<CopyRightAuthorEntity>
{
    List<CopyRightAuthorEntity> getListByConditions(CopyRightAuthorDTO dto);
    CopyRightAuthorVO getInfoById(String id);

    boolean addOrUpdate(List<CopyRightAuthorDTO> list,String copyrightId);

    boolean add(CopyRightAuthorDTO dto);
    boolean addBatch(List<CopyRightAuthorDTO> list,String copyrightId);

    boolean update(CopyRightAuthorDTO dto);

    boolean batchRemove(List<String> ids);

    List<CopyRightAuthorVO> getListByCopyRightId(String copyrightId);

    boolean batchRemoveByCopyRightIds(List<String> copyrightIds);

}
